﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Habi.Server.Models
{
    public class BaseModel
    {
        /// <summary>
        /// 表主键
        /// </summary>
        [Key] public long Id { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 创建人User.Id
        /// </summary>
        public long CreatorId { get; set; }
        public DateTime? CreateTime { get; set; }
        public DateTime? LastUpdateTime { get; set; }
    }
}
